<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>

<%@ taglib prefix="d" uri="http://dgg.net/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title></title>
    <c:import url="../../header.jsp"/>
</head>
<body>
<div  class="content-warp">
    <div class="distribPersonel" id="transferOrderPageBox" style="padding: 20px 20px">
        <form action="" id="transferOrderBoxForm" >
            <p>今日待分配</p>
            <table class="dggui-table-info" id="test">
                <tbody>
                <tr>
                    <th><a href="javascript:void(0)" class="dggui-link" data-code="BUS_YT_DK_XYDK" onclick="sqqq()">信用贷款</a></th>
                    <td></td>
                </tr>
                <tr>
                    <th><a href="javascript:void(0)" class="dggui-link" data-code="BUS_YT_DK_DYDK" onclick="">抵押贷款</a></th>
                    <td></td>
                </tr>
                <tr>
                    <th><a href="javascript:void(0)" class="dggui-link" data-code="BUS_YT_DK_ZJYW" onclick="">资金业务</a></th>
                    <td></td>
                </tr>
                <tr>
                    <th><a href="javascript:void(0)" class="dggui-link" data-code="BUS_YT_DK_QT" onclick="">其他</a></th>
                    <td></td>
                </tr>
                </tbody>
            </table>
        </form>
    </div>
</div>

<c:import url="/WEB-INF/jsp/footer.jsp"/>
<script type="text/javascript">
   /* $(function () {
        var table=$("#test");
        var trs = table.find("tr");
        trs.each((function (i, ele) {
            var code = ele.find("th").attr("data-code");
            console.log(code);
        }))
    });*/
</script>
<script type="text/javascript">
    function sqqq() {
        $.ajax({
          url:sysInfo.basePath+"/rzsc/workbench/countRzDate.do?code=CODE_09&countTimeType=0",
          dataType: 'JSON',

            success: function (data) {
                console.log(data);
            },
            errors(data) {
                console.log(data);
            }
        })
    }


</script>
</body>
</html>